home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
EXT
/
A-E
/
Anim.Bomb INIT.cpt
/
Bomb INIT Folder
/
Bomb INIT.rsrc
/
TEXT_128_About CShowInit_proc.txt
< prev
next >
Wrap
Text File
|
1993-01-05
|
1KB
|
30 lines
Color ShowINIT
This translation by Ken McLeod (thecloud@dhw68k.cts.com)
Modified by Anthony Saxton (elanay@aol.com)
Version of Monday, December 21, 1992 8:37:24 PM
INIT notification routine by Paul Mercer, Darin Adler,
and Paul Snively from an idea by Steve Capps
Version of : Friday, July 15, 1988 12:08:09 AM (1.1B1)
-revved back to previous calling interface.
-you only need to call ShowINIT now and due
to popular demand, deltaX is back!
-also due to popular demand, color icons are
now done automatically.
-note that the color icon is only used if 4
bits or more is available on the main graphics
device; ther normal ICN# is used for all other casses.
Use the following code within your INIT to load the 'proc' and
call CShowINIT (in C):
Handle procH;
int shiftIcon;
shiftIcon = -1; /* -1=shift position, 0=don't shift */
if ((procH = GetResource('proc', PROC_ID)) != 0L)
{
HLock(procH);
CallPascal(ICON_ID, shiftIcon, *procH);
HUnLock(procH);
}